package bad;

import static org.junit.Assert.*;

import java.io.IOException;

import javax.annotation.Resource;
import javax.servlet.sip.SipFactory;
import javax.servlet.sip.TooManyHopsException;

import org.junit.Test;

public class SipClientTest
{
	@Resource
	private SipFactory factory;

	@Test
	public void testSendMessage() throws TooManyHopsException, IOException
	{
		new SipClient().sendMessage("Good",
				factory.createSipURI("127.0.0.1", "222222"),
				factory.createSipURI("127.0.0.1", "5077"));
	}
}
